Page({

  resetSignature(){
    let _this = this;
    let signature = this.selectComponent('.signature');
    signature.clearClick()
  },
  saveSignature(){
    console.log("保存签名");
    let _this = this;
    let _wx = wx;
    let signature = this.selectComponent('.signature');
    signature.saveClick((result) => {
      console.log(result)
      _wx.showToast({
        title: result.tempFilePath,
        icon:"none"
      })
    })
  },
})
